package br.com.bacabeleireiros.sysbeleza.service.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.bacabeleireiros.sysbeleza.dao.IHorarioDAO;
import br.com.bacabeleireiros.sysbeleza.entity.Horario;
import br.com.bacabeleireiros.sysbeleza.service.IHorarioService;

@Service("horarioService")
public class HorarioServiceImpl implements IHorarioService, Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@Autowired
	private IHorarioDAO dao;

	public HorarioServiceImpl() {
		
	}

	@Override
	public List<Horario> getAll() {
		return dao.getAll();
	}

	@Override
	public Horario getById(Long idHorario) {
		return dao.getById(idHorario);
	}
	
	

}
